package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.saas.domain.entity.CoolAppCardDataEntity;

import java.util.List;
import java.util.Map;


/***
 *
 * @author hongxiao
 * @date 2022-06-09 10:23
 * @since
 * @version
 */
public interface CoolAppCardDataModel extends IModel<CoolAppCardDataEntity> {
   Integer insert(CoolAppCardDataEntity entity);

   void insertBatch(List<CoolAppCardDataEntity> list);

   List<CoolAppCardDataEntity> findEntitys(Map<String, Object> param);

   Integer getEntitysCount(Map<String, Object> param);

   Integer update(CoolAppCardDataEntity entity);

   Integer updateBatch(List<CoolAppCardDataEntity> list, String corpid);

   CoolAppCardDataEntity getByKey(Long key, String corpid);

   List<CoolAppCardDataEntity> findEntitysWithoutSub(Map<String, Object> param);

   CoolAppCardDataEntity getByCardBizId(String corpid, String cardBizId);
}
